/*
 * Copyright (c)  2020,  DataPipeline
 * All rights reserved.
 *
 * Id:ColumnIgnore.java   2020-07-18 17:26 wanglijun
 */
package cn.datacare.orm.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * <p>
 * Title:
 * </p>
 * <p>
 * Description: beetlsql 内置的插入和更新的时候使用,默认是insert:ture,update:false
 * 新版本2.8.13后建议使用@UpdateIgnore 和 @InsertIgnore
 * </p>
 * <p>
 * Copyright: Copyright (c) 2020
 * </p>
 * <p>
 * Company/Department: DataPipeline
 * </p>
 *
 * @author wanglijun
 * @version 1.0
 * @since 2020-07-18 17:26
 */
@Deprecated
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.METHOD, ElementType.FIELD})
public @interface ColumnIgnore {
    /**
     * 更新
     * @return
     */
    boolean insert() default true;

    boolean update() default false;

}

